package com.java.collections.color;

import java.util.ArrayList;
import java.util.List;

public class Testc {

	public static void main(String[] args) {

	      List<String> color = new ArrayList<String>();
	      System.out.println("***** originally colors present in the list*****");
	       color.add("violet");
	       color.add("Indigo");
	       color.add("blue");
	       color.add("green");
	       color.add("yellow");
	       color.add("orange");
	       color.add("red");
	     System.out.println("\n" +color);
	    System.out.println("\n" +"original size is \t" +color.size());
	     ColorOperation c1 = new ColorOperation();
	     
	     System.out.println("******  list after deletion *******" );
	     
	     List<String> color2 = new ArrayList<String>();
	     color2=  c1.delete("blue",color);
	     c1.display(color2);
	     c1.displaySize(color2);
}
	
}
